<%--
  Created by IntelliJ IDEA.
  User: zhangye
  Date: 2020-05-08
  Time: 15:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <!-- Required meta tags -->
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <title>ChangePwd</title>
    <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="//cdn.jsdelivr.net/jquery.bootstrapvalidator/0.5.2/js/bootstrapValidator.min.js"></script>
    <link rel="stylesheet" href="//cdn.jsdelivr.net/jquery.bootstrapvalidator/0.5.2/css/bootstrapValidator.min.css"/>
    <link rel="stylesheet" href="css/bg.css">
    <script src="js/inputValidator.js"></script>
</head>
<body>
<div class="container">

    <form action="/changePwd" id="form1">
        <div class="form row">
            <div class="form-horizontal col-md-offset-3" id="login_form">
                <h3 class="form-title">ChangePwd</h3>
                <div class="col-md-9">
                    <%--<input type="hidden" name="oldPassword" value="${oldPassword}"/>--%>
                    <div class="form-group">
                        <input class="form-control required" type="hidden"  id="oldPassword" name="oldPassword" maxlength="20" value="${oldPassword}"/>
                    </div>
                    <div class="form-group">
                        <label>旧密码</label>
                        <input class="form-control required" type="password" placeholder="Password" id="password2" name="password2" maxlength="20"/>
                    </div>
                    <div class="form-group">
                        <label>新密码</label>
                        <input class="form-control required" type="password" placeholder="Password" id="newPassword" name="newPassword" maxlength="20"/>
                    </div>
                    <div class="form-group">
                        <label>确认密码</label>
                        <input class="form-control required" type="password" placeholder="Password" id="rePassword" name="rePassword" maxlength="20"/>
                    </div>
                    <div class="form-group col-md-offset-9">
                        <input class="btn btn-success pull-right" type="submit" >
                        <%--<button type="submit" class="btn btn-success pull-right" name="submit">登录</button>--%>
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
</body>
</html>
